package com.inspur.ourhis_afterend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.inspur.ourhis_afterend.model.RegisterOrder;
import com.inspur.ourhis_afterend.model.RegisterOrderExample;
import java.util.List;

import com.inspur.ourhis_afterend.vo.RegisterOrderVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

@Repository
public interface RegisterOrderMapper extends BaseMapper<RegisterOrder> {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    long countByExample(RegisterOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int deleteByExample(RegisterOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int deleteByPrimaryKey(Integer roid);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int insert(RegisterOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int insertSelective(RegisterOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    List<RegisterOrder> selectByExample(RegisterOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    RegisterOrder selectByPrimaryKey(Integer roid);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int updateByExampleSelective(@Param("record") RegisterOrder record, @Param("example") RegisterOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int updateByExample(@Param("record") RegisterOrder record, @Param("example") RegisterOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int updateByPrimaryKeySelective(RegisterOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table REGISTERORDER
     *
     * @mbg.generated Sun Jun 21 10:37:15 CST 2020
     */
    int updateByPrimaryKey(RegisterOrder record);
    IPage<RegisterOrderVo> selectReSelective(IPage<RegisterOrderVo> iPage,
                                            @Param("roid") Integer roid,
                                            @Param("memeberid") Integer memeberid,
                                            @Param("deptName") String deptName ,
                                            @Param("rotime") String rotime);
}